package com.java110.acct.payment.adapt.pxlc;

import java.io.Serializable;
import java.util.List;

public class JsApi implements Serializable {

    private String txn_num; // 交易码
    private String version; // 版本号
    private String date_time; // 交易日期时间
    private String dev_id; // 设备号
    private String mcht_id; // 商户号
    private String srm_code; // 门店号
    private String ckr_code; // 收银员编号
    private String agent_no; // 渠道号
    private String out_order_no; // 商户订单号
    private HeadAttach head_attach; // 公共附加信息
    private String sign; // 签名
    private String nonce_str; // 随机字符串
    private String mch_create_ip; // 终端 IP
    private String notify_url; // 通知地址
    private String total_fee; // 总额
    private String fee_type; // 货币类型 CNY
    private String attach; // 货币类型 CNY
    private String body; // 货币类型 CNY
    private String sub_appid; // 小程序appid
    private String sub_openid; // 用户openid
    private String openid; // 用户openid
    private String authCode; // 用户扫码枪授权码


    // 退款
    private String refund_fee; // 退款金额
    private String org_fee; // 原交易金额
    private String op_user_id; // 商户号
    private String refund_no; // 平台退款订单号
    private String out_refund_no; // 商户退款订单号

    // 查询订单
    private String transaction_id; // 平台订单号






    private String return_code; // 应答码
    private String return_msg; // 应答信息


    public String getTxn_num() {
        return txn_num;
    }

    public void setTxn_num(String txn_num) {
        this.txn_num = txn_num;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDate_time() {
        return date_time;
    }

    public void setDate_time(String date_time) {
        this.date_time = date_time;
    }

    public String getDev_id() {
        return dev_id;
    }

    public void setDev_id(String dev_id) {
        this.dev_id = dev_id;
    }

    public String getMcht_id() {
        return mcht_id;
    }

    public void setMcht_id(String mcht_id) {
        this.mcht_id = mcht_id;
    }

    public String getSrm_code() {
        return srm_code;
    }

    public void setSrm_code(String srm_code) {
        this.srm_code = srm_code;
    }

    public String getCkr_code() {
        return ckr_code;
    }

    public void setCkr_code(String ckr_code) {
        this.ckr_code = ckr_code;
    }

    public String getAgent_no() {
        return agent_no;
    }

    public void setAgent_no(String agent_no) {
        this.agent_no = agent_no;
    }

    public String getOut_order_no() {
        return out_order_no;
    }

    public void setOut_order_no(String out_order_no) {
        this.out_order_no = out_order_no;
    }

    public HeadAttach getHead_attach() {
        return head_attach;
    }

    public void setHead_attach(HeadAttach head_attach) {
        this.head_attach = head_attach;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getMch_create_ip() {
        return mch_create_ip;
    }

    public void setMch_create_ip(String mch_create_ip) {
        this.mch_create_ip = mch_create_ip;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(String total_fee) {
        this.total_fee = total_fee;
    }

    public String getFee_type() {
        return fee_type;
    }

    public void setFee_type(String fee_type) {
        this.fee_type = fee_type;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getSub_appid() {
        return sub_appid;
    }

    public void setSub_appid(String sub_appid) {
        this.sub_appid = sub_appid;
    }

    public String getSub_openid() {
        return sub_openid;
    }

    public void setSub_openid(String sub_openid) {
        this.sub_openid = sub_openid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getRefund_fee() {
        return refund_fee;
    }

    public void setRefund_fee(String refund_fee) {
        this.refund_fee = refund_fee;
    }

    public String getOrg_fee() {
        return org_fee;
    }

    public void setOrg_fee(String org_fee) {
        this.org_fee = org_fee;
    }

    public String getOp_user_id() {
        return op_user_id;
    }

    public void setOp_user_id(String op_user_id) {
        this.op_user_id = op_user_id;
    }

    public String getRefund_no() {
        return refund_no;
    }

    public void setRefund_no(String refund_no) {
        this.refund_no = refund_no;
    }

    public String getOut_refund_no() {
        return out_refund_no;
    }

    public void setOut_refund_no(String out_refund_no) {
        this.out_refund_no = out_refund_no;
    }

    public String getTransaction_id() {
        return transaction_id;
    }

    public void setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
    }

    public String getReturn_code() {
        return return_code;
    }

    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }

    public String getReturn_msg() {
        return return_msg;
    }

    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public static class HeadAttach implements Serializable {

        public String getDev_version() {
            return dev_version;
        }

        public void setDev_version(String dev_version) {
            this.dev_version = dev_version;
        }

        public String getDev_sp() {
            return dev_sp;
        }

        public void setDev_sp(String dev_sp) {
            this.dev_sp = dev_sp;
        }

        public String getDev_model() {
            return dev_model;
        }

        public void setDev_model(String dev_model) {
            this.dev_model = dev_model;
        }

        public String getLng() {
            return lng;
        }

        public void setLng(String lng) {
            this.lng = lng;
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getDev_sn() {
            return dev_sn;
        }

        public void setDev_sn(String dev_sn) {
            this.dev_sn = dev_sn;
        }

        public String getStation() {
            return station;
        }

        public void setStation(String station) {
            this.station = station;
        }

        public String getErp_attach() {
            return erp_attach;
        }

        public void setErp_attach(String erp_attach) {
            this.erp_attach = erp_attach;
        }

        private String dev_sp; // 供应商代码
        private String dev_model; // 设备型号
        private String lng; // 经度
        private String lat; // 维度
        private String dev_version; // 终端版本号
        private String dev_sn; // 设备SN
        private String station; // 基站信息
        private String erp_attach; // 收银对接扩展字段
//        private String station; // 基站信息
    }
}